Procedure Statements
Procedure statements in VectorScript call predefined VectorScript API function calls as well as user-defined procedures and functions to perform actions within a script. With VectorScript API function calls, the actions are performed directly by VectorWorks; user-defined function calls encapsulate other VectorScript source code; which is executed when the procedure statement is called in a script.
The general syntax for procedure statements is:
<procedure identifier>[(<parameter list>)][:<return value>];
Function calls such as:
Message('Hello VectorScript');
or
SetSelect(h);
are examples of procedure statements in VectorScript. For more details on user-defined procedures and functions, see User-Defined Procedures and User-Defined Functions.

Statements : Procedure Statements

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050